<!doctype html>
<%@ page contentType="text/html;charset=utf-8" pageEncoding="utf-8"
	language="java"%>
<%@ include file="/jsp/mobile/include/include.jsp"%>
<html lang="cn">
<head>
<%@ include file="/jsp/mobile/include/header.jsp"%>
<title>正在支付</title>
</head>
<body class="nobg">
	<div class="addTx" id="">
	<em></em>
    <div class="ine">
    <p><img src="<%=request.getContextPath()%>/images/mobile/lie.gif"></p>
    <p class="mt5">正在支付...</p>
    </div>
</div>
</body>
</html>
<script type="text/javascript">
    $(document).ready(function() {
        setInterval('queryOrderStatus()', 1000 * 10);
    });

    function queryOrderStatus() {
        $.ajax({
            type: "GET",
            url: "<%=request.getContextPath()%>/mobile/index/queryOrderStatus",
            data:
            {
                'orderId' : '<c:out value="${model.orderId}"/>'
            },
            dataType: "json",
            success: function(msg) {
            	if (msg.transStatus == "S" || msg.transStatus == "F") {
            		window.location.href = "<%=request.getContextPath()%>/mobile/index/nocardPayResult";
            	}
            }
        });
    }
</script>